package com.example.hello_world.dataTransport;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.example.hello_world.R;

public class showBundleData extends AppCompatActivity {

    private TextView Tv;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_bundle_data);
        Tv=findViewById(R.id.bundle_text);

        Intent intnet02=getIntent();
        Bundle bundle=intnet02.getBundleExtra("bun");
        String string=bundle.getString("sting02");
        Tv.setText(string);
    }
}